package com.itheima.vo.cms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cms_subject")
public class CmsSubject implements Serializable {
  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private long id;
  private long categoryId;
  private String title;
  private String pic;  //专题主图
  private long productCount;  //关联产品数量
  private long recommendStatus;
  private java.sql.Timestamp createTime;
  private long collectCount;
  private long readCount;
  private long commentCount;
  private String albumPics;
  private String description;
  private long showStatus;  //显示状态,0->不显示；1->显示
  private String content;
  private long forwardCount;  //转发数
  private String categoryName;

}
